                        <div class="">
                        <h1>اعدادات انواع الوحدات</h1>
                        <hr />
                        <div class="bookings-edit-container">
                        <p class="small text-right"> انواع الوحدات : </p>
                        <div class="bookings-edit-row">
                        <table style="font-size:10px !important;" class="edit-bookings-table">
                            	<tr>
                                    <td class="medium">النوع-لغة عربية</td>
                                
                                    <td class="medium"></td>
                                </tr>
								<?php  
								foreach($units_type as $unit_type){
								?>
                            	<tr class="regular">
                                    <td class="medium" id="type_text"><?php echo $unit_type['type_name']; ?></td>
									<td id="edit_input"  style="display:none;" class="medium" >
									<form action="" method="GET" >
									<input type="text"  name="edit_name"  value="<?php echo $unit_type['type_name']; ?>" />
									<input class="delete-id" type="hidden" name="id" value="<?php echo $unit_type['type_id']; ?>"/>
									<input type="submit"   value="حفظ" />
									</form>
									</td>
                                    <td class="edit_type"><a href="#" style="color:#14a6dd;">تعديل</a></td> 
                                    <td class="medium">
									<a href="#" style="color:red;" class="delete">حذف</a>
									<input class="delete-id" type="hidden" value="<?php echo $unit_type['type_id']; ?>"/>
                                    <input class="filter-id" type="hidden" value="8"/> <!-- 8 means delete service -->
									</td>
                                </tr>
								<?php } ?>
                                
                         </table>
                         <h2> اضافة نوع جديد </h2>
                         <div style="width:300px;">
						 <form action="" method="POST">
                         <span class="margin-left20">الوصف:</span><span><input type="text" required class="small-input" name="type_name" value=""></span>
                         <input type="submit"  value="اضافه">
						  </form>
						 </div>						 
                        </div>
                        </div>
                      </div>
                      </div>
